/*
 * @Description: 
 * @Author: liyuhao
 * @Date: 2021-08-05 16:27:43
 * @LastEditors: Please set LastEditors
 * @LastEditTime: 2023-11-15 11:34:27
 */
import { BooleanEnum, BooleanEnum1, BooleanEnum2 } from './enum'
import CreateEnumMap from '@/utils/CreateEnumMap'

export const BooleanMap = CreateEnumMap([
  {
    id: BooleanEnum.Yes,
    name: '是'
  },
  {
    id: BooleanEnum.No,
    name: '否'
  }
])

export const BooleanMap1 = CreateEnumMap([
  {
    id: BooleanEnum1.Yes,
    name: '正常营业'
  },
  {
    id: BooleanEnum1.No,
    name: '暂停营业'
  }
])

export const BooleanMap2 = CreateEnumMap([
  {
    id: BooleanEnum2.NotSelected,
    name: '未选择'
  },
  {
    id: BooleanEnum2.Yes,
    name: '是'
  },
  {
    id: BooleanEnum2.No,
    name: '否'
  }
])